vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Changing permissions policy (https://vborg.vbsupport.ru/showthread.php?t=275882)

peterBH 12-23-2011 12:00 PM

Changing permissions policy
 
We are about to integrate vBulletin with our main website. This website requires registration.

We have a problem in that vB's password-strength policy is more restrictive than the main site's password strength policy. Specifically, the main site allows any combination of password/username, but vBulletin is not allowing the password to be the same as the username. This means some users who are legitimately logged into the main site are locked out of the forums. What we want is for any user logged into the main site to be treated as legitimate by vB.

Basically, we want vBulletin to accept any username/password combination that we hand it. Is there any way we can do this - ideally turn vB password strength policies off?

Many thanks
Peter

kh99 12-23-2011 12:22 PM

It looks to me like the only restrictions on password are that it can't contain the username and that it can't be one you've used during the "password history" period for that usergroup.

If you add this to the includes/config.php file:

Code:

define('ALLOW_SAME_USERNAME_PASSWORD', 1);

it should disable the check for password the same as username. If you edit the "Registered Users" usergroup, you can set the Password History to 0 to disable the history check.

peterBH 12-23-2011 01:25 PM

That's very helpful, kh99, much appreciated.

peter


All times are GMT. The time now is 12:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01482 seconds
  • Memory Usage 1,707KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete