complete story 2.4 with qa test and added a feature disallowing admin from deactivating his own account
This commit is contained in:
@@ -120,4 +120,57 @@ return [
|
||||
'continue' => 'Continue',
|
||||
'back' => 'Back',
|
||||
'confirm_convert' => 'Confirm Conversion',
|
||||
|
||||
// Account Lifecycle Management
|
||||
'account_actions' => 'Account Actions',
|
||||
'deactivate' => 'Deactivate',
|
||||
'reactivate' => 'Reactivate',
|
||||
'reset_password' => 'Reset Password',
|
||||
'delete_permanently' => 'Delete Permanently',
|
||||
|
||||
// Deactivate Account
|
||||
'cannot_deactivate_self' => 'You cannot deactivate your own account.',
|
||||
'confirm_deactivate' => 'Confirm Deactivation',
|
||||
'deactivate_warning' => 'This will prevent the user from logging in to their account.',
|
||||
'deactivate_effects' => 'Effects of deactivation',
|
||||
'deactivate_effect_login' => 'User will not be able to log in',
|
||||
'deactivate_effect_sessions' => 'All active sessions will be terminated',
|
||||
'deactivate_effect_data' => 'All data (consultations, timelines) will be retained',
|
||||
'deactivate_effect_reversible' => 'Account can be reactivated at any time',
|
||||
'confirm_deactivate_action' => 'Deactivate Account',
|
||||
'user_deactivated' => 'Account deactivated successfully.',
|
||||
|
||||
// Reactivate Account
|
||||
'confirm_reactivate' => 'Confirm Reactivation',
|
||||
'reactivate_message' => 'This will restore the user\'s ability to log in.',
|
||||
'reactivate_effects' => 'Effects of reactivation',
|
||||
'reactivate_effect_login' => 'User will be able to log in again',
|
||||
'reactivate_effect_data' => 'All previous data remains intact',
|
||||
'reactivate_effect_email' => 'User will receive an email notification',
|
||||
'confirm_reactivate_action' => 'Reactivate Account',
|
||||
'user_reactivated' => 'Account reactivated successfully.',
|
||||
|
||||
// Delete Account
|
||||
'cannot_delete_self' => 'You cannot delete your own account.',
|
||||
'confirm_delete' => 'Confirm Permanent Deletion',
|
||||
'delete_warning_title' => 'This action cannot be undone!',
|
||||
'delete_warning' => 'This will permanently remove all user data from the system.',
|
||||
'will_be_deleted' => 'The following will be permanently deleted',
|
||||
'delete_item_consultations' => 'All consultations and their history',
|
||||
'delete_item_timelines' => 'All timelines and their updates',
|
||||
'delete_item_notifications' => 'All notifications',
|
||||
'delete_item_account' => 'The user account',
|
||||
'type_email_to_confirm' => 'Type ":email" to confirm deletion',
|
||||
'email_confirmation_mismatch' => 'The email does not match. Please type the correct email to confirm.',
|
||||
'user_deleted' => 'Account deleted successfully.',
|
||||
|
||||
// Password Reset
|
||||
'reset_password_title' => 'Reset User Password',
|
||||
'reset_password_message' => 'A new random password will be generated and sent to the user.',
|
||||
'reset_password_effects' => 'What will happen',
|
||||
'reset_password_effect_generate' => 'A new 12-character random password will be generated',
|
||||
'reset_password_effect_email' => 'The new password will be emailed to the user',
|
||||
'reset_password_effect_old' => 'The old password will no longer work',
|
||||
'confirm_reset_password' => 'Reset Password',
|
||||
'password_reset_sent' => 'New password generated and sent to the user.',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user