mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
jwt implemented
This commit is contained in:
@@ -122,7 +122,7 @@ export class LoginPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
let attempt = await this.authService.login(this.userattempt, { saveSession: false })
|
||||
const data = await this.authService.loginContenteProduction(this.userattempt, { saveSession: true })
|
||||
/* const data = await this.authService.loginContenteProduction(this.userattempt, { saveSession: true }) */
|
||||
|
||||
|
||||
loader.remove()
|
||||
@@ -131,7 +131,7 @@ export class LoginPage implements OnInit {
|
||||
if (attempt.UserId == SessionStore.user.UserId) {
|
||||
|
||||
await this.authService.SetSession(attempt, this.userattempt);
|
||||
CPSession.save(data)
|
||||
/* CPSession.save(data) */
|
||||
this.changeProfileService.run();
|
||||
|
||||
if (attempt.ChatData) {
|
||||
@@ -165,7 +165,7 @@ export class LoginPage implements OnInit {
|
||||
this.storage.clear();
|
||||
|
||||
await this.authService.SetSession(attempt, this.userattempt);
|
||||
CPSession.save(data)
|
||||
/* CPSession.save(data) */
|
||||
this.changeProfileService.run();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user