[1758] bug with password for updating profiles

Posts from previous Beta sessions

[1758] bug with password for updating profiles

Postby Grimicus » Thu May 29, 2008 10:14 am

Hello again :) I searched the forum and bugs in the project page but I didn't find anything like this there.

I have my update access set as follows:

Access to Update.php - enabled
Guild Data Level - Officer
Character Data Level - Guild
Other LUA Data Level - Public

When anyone is logged in with the 'Guild' password, the update page still shows the password text box, and if they do not type anything, they are logged out and are told invalid password. However, if they type any of the passwords into the password box, it works as normal and logs them in with that level of access.
Grimicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 6:06 am

[1758] bug with password for updating profiles

Postby zanix » Thu May 29, 2008 10:20 am

The password box will show if any type of update requires higher access, such as the guild update in your case

But the second part is new to me
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[1758] bug with password for updating profiles

Postby zanix » Thu May 29, 2008 10:29 am

I was just able to reproduce your error

Here is the fix

Open lib/login.php
Find
Code: Select all
      elseif( isset($_POST['password']) )

Replace with
Code: Select all
      elseif( isset($_POST['password']) && $_POST['password'] != '' )
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: [1758] bug with password for updating profiles

Postby Grimicus » Thu May 29, 2008 10:34 am

Thanks! I'll let you know if I have any more problems :)
Grimicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 6:06 am

Re: [1758] bug with password for updating profiles

Postby tuigii » Fri May 30, 2008 10:39 pm

Grimicus wrote:Thanks! I'll let you know if I have any more problems :)


:D
It will be no problem if you bring in solutions :wink:

Have to say that you found a nice one here : grats ^^
Last edited by tuigii on Fri May 30, 2008 10:41 pm, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron