fix: branding, 401 logout, and blocked-user message on register page
- Copyright.vue / AuthCopyright.vue: change link from mugweb.ir to madresebanoo.ir - SelectField.vue: add min-width:0 to prevent flex overflow in narrow layouts - useRedirectAfterLogin: check roles array (multi-role support) instead of single role - StudentRegisterPage: show block reason when user's status is blocked - http.js: only clear session on 401 if a token already existed (login form 401 should not trigger logout); clear via authStore so WordPress cookie is also cleaned up Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="copyright">
|
||||
<div class="copyright__text">
|
||||
<a href="https://mugweb.ir/" target="_blank" rel="noopener">
|
||||
<a href="https://madresebanoo.ir/" target="_blank" rel="noopener">
|
||||
<p class="copyright__en">All Rights Reserved. 2026</p>
|
||||
<p class="copyright__fa">تمام حقوق مادی و معنوی این وبسایت محفوظ هست.</p>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user