mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-02-05 17:03:16 +00:00
🚫 fix(permissions): update unauthorized access alerts for member and election management pages
This commit is contained in:
@@ -59,7 +59,7 @@ on([
|
||||
$this->currentPubkey = $pubkey;
|
||||
$this->currentPleb = \App\Models\EinundzwanzigPleb::query()->where('pubkey', $pubkey)->first();
|
||||
if ($this->currentPleb->association_status->value < 3) {
|
||||
return redirect()->route('association.profile');
|
||||
return $this->js('alert("Du bist nicht berechtigt, an der Wahl teilzunehmen.")');
|
||||
}
|
||||
$logPubkeys = [
|
||||
'0adf67475ccc5ca456fd3022e46f5d526eb0af6284bf85494c0dd7847f3e5033',
|
||||
|
||||
Reference in New Issue
Block a user