mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 12:32:09 +08:00
添加state校验
This commit is contained in:
@@ -332,6 +332,7 @@ export class UserLoginComponent implements OnInit, OnDestroy {
|
||||
this.qrCodeService.loginByQrCode({
|
||||
authType: 'scancode',
|
||||
code: this.ticket,
|
||||
state: this.state,
|
||||
}).subscribe(res => {
|
||||
if (res.code === 0) {
|
||||
this.qrexpire = true;
|
||||
|
||||
Reference in New Issue
Block a user