REG_PASS_SAFE duplicat in sma

Moderator: Moderators

Locked
mdyro
Nou Venit
Posts: 6
Joined: 23 Dec 2012, 14:01

REG_PASS_SAFE duplicat in sma

Post by mdyro » 23 Dec 2012, 14:51

Ce versiune a script-ului folosesti ? - 2.0.0-rc3

In sma-ul de la admin_sql la linia 891:

Code: Select all

g_eRegData[REG_USER_SAFE], g_eRegData[REG_PASS_SAFE], g_eRegData[REG_PASS_SAFE], register_date, activation_key
A fost trecut de doua ori REG_PASS_SAFE in loc de REG_EMAIL_SAFE, datorita acestei greseli in baza de date in loc sa se insereze adresa de email se insereaza de 2 ori parola.
Iar daca un jucator uita parola nu o poate recupera pentru ca aplicatia nu gaseste acel email in baza de date.

Eu am reparat aceasta mica 'eroare' inlocuind al doilea g_eRegData[REG_PASS_SAFE], cu g_eRegData[REG_EMAIL_SAFE], .

Numai bine!
User avatar
vim
Mini tehnicus
Posts: 2017
Joined: 22 Nov 2007, 20:05
Location: EvoSys HQ

Re: REG_PASS_SAFE duplicat in sma

Post by vim » 24 Dec 2012, 21:51

Bug inregistrat. Multumim pt ajutor.

--- 24 Dec 2012, 21:51 ---

Reparat in 2b5bbd0e3eaa275df313767f09f9b6879cab6184

Code: Select all

[root@gw-03 ~]# man woman
Segmentation Fault (core dumped)
CS 1.6: cs.evosys.ro
Locked