File tree 1 file changed +2
-3
lines changed
casa/app/src/main/java/org/gluu/casa/core
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 32
32
public class UserService implements SndFactorAuthenticationUtils {
33
33
34
34
private static final String PREFERRED_METHOD_ATTR = "jansPreferredMethod" ;
35
- private static final String ADMIN_LOCK_FILE = ".administrable" ;
36
- private static final String BASE_PATH = System .getProperty ("server.base" );
35
+ private static final String ADMIN_LOCK_FILE = System .getProperty ("admin.lock" );
37
36
38
37
@ Inject
39
38
private Logger logger ;
@@ -295,7 +294,7 @@ private Person personInstance(String id) {
295
294
* @return boolean value
296
295
*/
297
296
private boolean administrationAllowed () {
298
- return Files .isReadable (Paths .get (BASE_PATH , ADMIN_LOCK_FILE ));
297
+ return Files .isReadable (Paths .get (ADMIN_LOCK_FILE ));
299
298
}
300
299
301
300
}
You can’t perform that action at this time.
0 commit comments