File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import classic from 'ember-classic-decorator';
22import { action , computed } from '@ember/object' ;
33import Controller from '@ember/controller' ;
44import { htmlSafe } from '@ember/string' ;
5+ import ENV from 'open-event-frontend/config/environment' ;
56
67@classic
78export default class IndexController extends Controller {
@@ -26,6 +27,7 @@ export default class IndexController extends Controller {
2627 } ) ;
2728 newUser . save ( )
2829 . then ( ( ) => {
30+ ENV [ 'ember-simple-auth-token' ] . refreshAccessTokens = false ;
2931 const credentials = newUser . getProperties ( 'email' , 'password' ) ;
3032 const authenticator = 'authenticator:jwt' ;
3133 credentials . username = newUser . email ;
@@ -69,6 +71,7 @@ export default class IndexController extends Controller {
6971 username,
7072 password
7173 } ;
74+ ENV [ 'ember-simple-auth-token' ] . refreshAccessTokens = false ;
7275 const authenticator = 'authenticator:jwt' ;
7376 this . session
7477 . authenticate ( authenticator , credentials )
You can’t perform that action at this time.
0 commit comments