sS assistant_checkPasswordStructure(S pw) { if (l(pw) < 8) ret "Password must be at least 8 characters long"; if (containsSpace(pw)) ret "Password must not contain spaces"; null; }
Began life as a copy of #1023344
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023346 |
Snippet name: | assistant_checkPasswordStructure - null if OK |
Eternal ID of this version: | #1023346/1 |
Text MD5: | 88eb3fe7145d1a76f640ce184287de9e |
Author: | stefan |
Category: | javax / assistants |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-06 20:53:57 |
Source code size: | 190 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 271 / 320 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |