Skip to content

Commit 45feebf

Browse files
committed
Fix for null pointer exception from UserAware
1 parent 950eb3d commit 45feebf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

module-code/app/securesocial/core/java/UserAware.java

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
public class UserAware extends Action<UserAwareAction> {
4444
RuntimeEnvironment env;
4545

46+
public UserAware(RuntimeEnvironment<?> env) throws Throwable {
47+
this.env = env;
48+
}
49+
4650
@Override
4751
public F.Promise<SimpleResult> call(final Http.Context ctx) throws Throwable {
4852
Secured.initEnv(env);

0 commit comments

Comments
 (0)