SecureFileController::set_not_authorized_text
Set a 'not authorized' message to replace the standard string.
Signature
public function set_not_authorized_text([string
$message = 'Not Authorized',
[string
$i18n = 'SecureFiles.NOTAUTHORIZED']] )
Parameters
$message
— string- body of 401 Not Authorized response
$i18n
— string- to i18n path