We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7712250 commit f30faa1Copy full SHA for f30faa1
app/pods/login/route.js
@@ -6,14 +6,13 @@ export default class LoginRoute extends Route {
6
@service session
7
@service store
8
9
- loginUrl = `${env.oneauthURL}/oauth/authorize?response_type=code&client_id=${
10
- env.clientId
11
- }&redirect_uri=${env.publicUrl}`;
+ loginUrl = `${env.nuxtPublicUrl}`;
12
13
afterModel() {
14
if(this.session.isAuthenticated){
15
this.transitionTo('index')
16
} else {
+ localStorage.setItem('loginPrompt', true)
17
window.location.href = this.loginUrl
18
}
19
0 commit comments