Promo: order page + red banner + contact form; fix admin login rehash
- /order page: single tag $5.50 / 10-pack $22.00 (GST-incl), qty via Stripe Payment Links (single 1-25, pack 1-2), thanks state - Red 'Protect & recover your valuables — ORDER NOW' banner in base layout (every page incl. found-dog tag page) + footer promo links - Contact page: form -> Gmail SMTP (env SMTP_*), hello@where-woof.com - Fix admin login 500: User.getAuthPasswordName() = password_hash so Laravel 13 rehash-on-login writes the correct column (was trying UPDATE users SET password = ...)
This commit is contained in:
@@ -15,6 +15,8 @@ class User extends Authenticatable implements FilamentUser
|
||||
use HasFactory, Notifiable, Billable;
|
||||
|
||||
protected $table = 'users';
|
||||
// Shared schema uses password_hash, not Laravel's default 'password'.
|
||||
protected $authPasswordName = 'password_hash';
|
||||
public $timestamps = false; // shared schema: created_at only, set by DB default
|
||||
protected $fillable = ['email', 'password_hash', 'name', 'phone', 'is_admin', 'stripe_id', 'sms_credits'];
|
||||
protected $hidden = ['password_hash'];
|
||||
|
||||
Reference in New Issue
Block a user