1
0
Fork 0
forked from mirror/pixelfed
Commit graph

35 commits

Author SHA1 Message Date
Rodrigo Fonseca
31330e0aed
Fix starting check of username to allow numbers.
The check for the first letter of username used to be !ctype_alpha, but the error message says "Must start with a letter or number." Updated check to be !ctype_alnum, to be coherent with the error message.
2021-09-16 22:36:30 -07:00
Daniel Supernault
27b722e7a7
Update config() to config_cache() 2021-05-10 23:23:09 -06:00
Daniel Supernault
082c1ccb26
Add hCaptcha 2020-12-12 21:04:59 -07:00
Daniel Supernault
78a8798ace
Update RegisterController, fixes #2436 2020-11-26 02:15:03 -07:00
delthas
09479c02ca Make the minimum user password length configurable
Previously, all passwords had to be at least 12 characters long.

Some users use a slightly shorter password, so some instances could wish
to reduce the password length limit to a slightly lesser value.

This makes the minimum password length configurable in the .env file,
with the MIN_PASSWORD_LENGTH variable, that defaults to 12 to keep the
previous behaviour by default.
2020-08-31 23:01:01 +02:00
Daniel Supernault
3b7ff030f2
Update RegisterController 2020-08-06 21:32:02 -06:00
dx7
913bf77ba4
Improve email validation error for restricted emails 2020-07-09 21:19:57 -03:00
dx7
693f530326
Improve username validation error for restricted names 2020-07-09 21:19:26 -03:00
Daniel Supernault
5bcb43a673
Update RegisterController, fix CI bug 2020-02-16 23:26:49 -07:00
Daniel Supernault
14ba350ba3
Fix postgres bugs 2020-02-16 23:15:24 -07:00
Daniel Supernault
fa8e0dca4d
Update RegisterController 2019-12-09 00:48:03 -07:00
Daniel Supernault
d11e82c3d9
Update landing page, add age check 2019-11-22 21:21:53 -07:00
Daniel Supernault
64950748cf
Update RegisterController 2019-09-05 21:29:12 -06:00
Daniel Supernault
f22a4b2d75
Update RegisterController, bump min password length from 6 to 8 2019-08-17 01:40:53 -06:00
Daniel Supernault
b885cccd6b
Update Auth controller 2019-08-09 13:33:02 -06:00
Shleeble
d61c48c62b
Update RegisterController.php 2019-04-30 15:25:02 +08:00
Shleeble
7953be29fe
Update LoginController.php 2019-04-30 15:20:26 +08:00
Daniel Supernault
89bd8f9653
Update LoginController 2019-03-19 21:01:39 -06:00
Daniel Supernault
2b76db6421
Update LoginController 2019-03-19 20:51:45 -06:00
Daniel Supernault
12995989c4
Add max user limit 2019-01-30 18:11:22 -07:00
Daniel Supernault
e39f88f6c6
Bump version to 0.7.1 2018-12-23 17:16:59 -07:00
Daniel Supernault
c6b1164620
Update AuthLogin 2018-10-24 12:41:14 -06:00
Daniel Supernault
edd62b2712
Update RegisterController 2018-10-24 11:56:56 -06:00
Daniel Supernault
9403749d9a
Add closed registration message instead of 403 2018-10-20 23:04:51 -06:00
daniel
b8abbdd90f Apply fixes from StyleCI 2018-08-28 03:07:36 +00:00
Daniel Supernault
b7c7757cff
Update RegisterController 2018-08-27 11:24:28 -06:00
Marcin Mikołajczak
a1588a82c1
Merge branch 'dev' into maxlength 2018-08-26 18:52:12 +02:00
Daniel Supernault
7e78f63ff5
Update RegisterController 2018-08-20 18:34:26 -06:00
Daniel Supernault
bde6c0f1ff Update LoginController 2018-07-23 11:26:02 -06:00
Marcin Mikołajczak
994aed0752 Add info about max bio length, make names length customizable
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-10 20:40:34 +02:00
Daniel Supernault
92939ed867 Add recaptcha to login/register form 2018-06-01 11:58:43 -06:00
Daniel Supernault
1e3a432087 Restrict new registrations with env setting 2018-05-23 21:03:20 -06:00
Daniel Supernault
91fd53a4be Update RegisterController, validate username against restricted names 2018-04-29 10:29:38 -06:00
Daniel Supernault
d1b44529df Add username to register form 2018-04-15 18:23:02 -06:00
Daniel Supernault
a034358c98 Add Laravel Framework 2018-04-15 17:56:48 -06:00