mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
test for same user via gradido ID instead of email
This commit is contained in:
parent
820b4b506b
commit
a8d9be1802
@ -139,7 +139,7 @@ export default {
|
||||
if (this.tokenExpiresInSeconds < 5) return `LOGGED_OUT`
|
||||
|
||||
// logged in, nicht berechtigt einzulösen, eigener link
|
||||
if (this.linkData.user && this.$store.state.email === this.linkData.user.email) {
|
||||
if (this.linkData.user && this.$store.state.gradidoID === this.linkData.user.gradidoID) {
|
||||
return `SELF_CREATOR`
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user