user()?->can('access-admin') ?? false; } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ ...$this->profileRules(), 'must_change_password_on_next_login' => ['required', 'boolean'], 'password' => $this->passwordRules(), ]; } }