mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Login AS GUI now uses the UID and not the person_id
This commit is contained in:
@@ -42,8 +42,8 @@ const loginAsApp = Vue.createApp({
|
||||
if (this.selectedUser != null)
|
||||
{
|
||||
this.$api
|
||||
.call(ApiLogin.loginASByPersonId({
|
||||
person_id: this.selectedUser.person_id
|
||||
.call(ApiLogin.loginASByUid({
|
||||
uid: this.selectedUser.uid
|
||||
}))
|
||||
.then((response) => {
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user