mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Add password reset flow
This commit is contained in:
@@ -91,7 +91,7 @@ export default class PayloadService {
|
||||
return value;
|
||||
},
|
||||
async conceal(action, value) {
|
||||
if (action === 'read') return '**********';
|
||||
if (action === 'read') return value ? '**********' : null;
|
||||
return value;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user