YAFLogo

huydan
  • huydan
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Hi,
I installed YAF but I lost my admin password. How can I reset it?
I'm using yaf version 1.93.

And about email config, Is there any thing wrong in my email config below:

in web.config:






In mail.config:






Tks u,
Sponsor

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
the key goes in the app.config file.

You need to run this SQL on your YAF DB:

Can you run SQL on your server? If so… this should work:


UPDATE yaf_prov_Membership
SET PasswordFormat = 0, Password = 'ClearTextPassword'
WHERE Username = 'admin'

Of course, if you get your mail working, you can just use the Lost Password system.
herman_herman
13 years ago
Ooops! You got your answer from the chief :cheesy:
huydan
  • huydan
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Oh yeah!!!
Thank Jaben so much
Whitterz
13 years ago
Great I have found a way in, now can i reset all the members password with one SQL?

Thanks

Danny
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button