Do not allow username in passwords.

A perfect place for code snippets to small to be a MOD or a library.
Or for examples on how to use our libraries.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
tumba25
Past Contributor
Past Contributor
Posts: 1058
Joined: 24 Oct 2007, 13:10
Real name: Jari Kanerva
Location: Kokkola, Finland.
Contact:

Do not allow username in passwords.

Postby tumba25 » 17 Mar 2011, 17:47

Last edited by tumba25 on 13 Jan 2015, 00:00, edited 2 times in total.
Reason: B

User avatar
tumba25
Past Contributor
Past Contributor
Posts: 1058
Joined: 24 Oct 2007, 13:10
Real name: Jari Kanerva
Location: Kokkola, Finland.
Contact:

Re: Do not allow username in passwords.

Postby tumba25 » 18 Mar 2011, 12:27

Fixed a minor bug.

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Do not allow username in passwords.

Postby Ooopsie » 19 Mar 2011, 03:33

Great security snippet. Thanks! :beer:

Oopsie
_____
Be who you are and say what you feel.
Those who mind don't matter.
Those who matter don't mind.
- Dr. Seuss

_____
And be kinder than necessary, for everyone
you meet is fighting some kind of battle.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “3.0 Code snippets”

Who is online

Users browsing this forum: No registered users and 3 guests