Skip to content

Commit db04c1b

Browse files
committed
Merge pull request jaliss#430 from mangecoeur/fix-useraware
jaliss#429 Fix for null pointer exception from UserAware
2 parents 950eb3d + 45feebf commit db04c1b

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)