Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Login by email address  (Read 2705 times)

0 Members and 1 Guest are viewing this topic.

Sugarbird

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Login by email address
« on: April 15, 2014, 02:58:22 pm »

I set my login from username login to email address login. I am now unable to login. I tried 'I forgot my password', it returns - 'user unknown'. I would like to change back to username login. I am using the latest coppermine gallery version. My gallery URL: www.b-h.co.za/gallery
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Login by email address
« Reply #1 on: April 16, 2014, 12:15:08 am »

Via a tool like phpMyAdmin, edit the cpg_config table to set login_method to username.
SQL: (change table prefix from off_ to your defined value)
Code: [Select]
UPDATE `cpg_config` SET `value` = 'username' WHERE `name` = 'login_method';
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Login by email address
« Reply #2 on: April 22, 2014, 02:55:24 pm »

Quote
<!--Coppermine Photo Gallery 1.4.25 (stable)-->

cpg1.4.x isn't supported anymore. You should upgrade to the latest stable release of cpg1.5.x (currently cpg1.5.28).
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Re: Login by email address
« Reply #3 on: April 22, 2014, 09:07:13 pm »

cpg1.4.x isn't supported anymore. You should upgrade to the latest stable release of cpg1.5.x (currently cpg1.5.28).
The things I can't see when working from my tablet...
(Haven't found a way to view page source to see the version running... or download/open the update.sql file...)

Or I would have suggested the upgrade as well.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.