|
|
@@ -3,9 +3,22 @@ main.view--login
|
|
3
|
3
|
article.pa12
|
|
4
|
4
|
div(v-if='emailSentSuccessfully === null')
|
|
5
|
5
|
form
|
|
6
|
|
- w-input.mb4(label="User E-mail" tile outline v-model="form.email" inner-icon-left='icon-envelope')
|
|
7
|
|
- w-input(label="Password" v-model="form.password" type="password" tile outline inner-icon-left='icon-eye')
|
|
8
|
|
- w-button.xs12.mt12(@click="login") submit
|
|
|
6
|
+ w-input.mb4(
|
|
|
7
|
+ inner-icon-left='icon-envelope'
|
|
|
8
|
+ label='User E-mail'
|
|
|
9
|
+ outline
|
|
|
10
|
+ tile
|
|
|
11
|
+ v-model='form.email'
|
|
|
12
|
+ )
|
|
|
13
|
+ w-input(
|
|
|
14
|
+ inner-icon-left='icon-eye'
|
|
|
15
|
+ label='Password'
|
|
|
16
|
+ outline
|
|
|
17
|
+ tile
|
|
|
18
|
+ type='password'
|
|
|
19
|
+ v-model='form.password'
|
|
|
20
|
+ )
|
|
|
21
|
+ w-button.xs12.mt12(@click='login') submit
|
|
9
|
22
|
div(v-else-if='emailSentSuccessfully === false')
|
|
10
|
23
|
p.verify-message Email Was Not Sent Successfully, please contact your Email Service Provider or Systems Administrator.
|
|
11
|
24
|
div(v-else)
|
|
|
@@ -42,7 +55,7 @@ export default {
|
|
42
|
55
|
if (sessionInfo.emailSentSuccessfully) {
|
|
43
|
56
|
this.emailSentSuccessfully = true
|
|
44
|
57
|
}
|
|
45
|
|
- document.cookie = `siimee_session=${sessionInfo.hashedSessionToken}; max-age=600; path=/; secure`
|
|
|
58
|
+ document.cookie = `siimee_session=${sessionInfo.hashedSessionToken}; max-age=600; path=/`
|
|
46
|
59
|
},
|
|
47
|
60
|
},
|
|
48
|
61
|
}
|