mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
redirect to login page instead of welcome page if allowRegistrations is false (#1185)
This commit is contained in:
@@ -26,7 +26,7 @@ class SecurityCheckFactoryTest {
|
||||
|
||||
UserService service = new UserService(null, null, null, null, null, null, null, postLoginActivities);
|
||||
|
||||
SecurityCheckFactory factory = new SecurityCheckFactory(userDAO, service, null, null, false);
|
||||
SecurityCheckFactory factory = new SecurityCheckFactory(userDAO, service, null, null, null, false);
|
||||
factory.cookieSessionLogin(sessionHelper);
|
||||
|
||||
Mockito.verify(postLoginActivities).executeFor(userInSession);
|
||||
|
||||
Reference in New Issue
Block a user