this post was submitted on 18 Feb 2024
158 points (100.0% liked)

tails: A Place for Mastodon Posts

344 readers
1 users here now

A virtual community

Posts from Mastodon users, featured natively in a community, so you can view them without the need for them to be re-hosted or screenshoted, and reply to the original author and Mastodon respondents if you wish.

Has so far included content from Warsandpeas, Mr. Lovenstein, SMBC, Loading Artist, Low Quality Facts, nixCraft, ElleGray, and other interesting or provocative stuff I've random'd across on Mastodon.


Supported:
Comments & Upvotes
Unsupported:
Posts, Downvotes, & PD's Automod

founded 10 months ago
MODERATORS
 

Image transcripion: shows a red sign with white text that says "STRICTLY NO ACCESS" mounted on a metal gate. The gate appears to be part of a fence around a park, with trees visible in the background but there is no fence around the gate or anywhere else


(Originally published earlier today on mastodon.social)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 9 months ago (1 children)

There’s a difference between ‘I would rather the user didn’t do that’ and ‘We must not allow this to happen’.

User enters the empty string for their password recovery question? Don’t care. Let the Frontend handle this. If the user is capable enough to disable the frontend validation, they’re capable to remember their password.

User enters SQL as their password recovery question? Validate in the backend.

[–] [email protected] 1 points 9 months ago

The issue with your example is that it could be that there was a bug and the user didn’t disable the validation and intend to send an empty string.