【发布时间】:2023-01-30 15:59:24
【问题描述】:
基本上我想给不同的不同用户不同的 APP_KEY 所以,当我尝试这样做时,他们会给出致命错误
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
|
*/
'key' => Auth::User()->APP_KEY
'cipher' => 'AES-256-CBC',
【问题讨论】:
-
您可以编辑您的问题并添加异常消息吗?
标签: php laravel laravel-5 eloquent laravel-8