Kirby Panel forgot password

Thanks for alerting me to this thread, @dfriere, I had missed it the first time around.

As it happens, Shopkit v1.0.4 will have a password reset function… feedback welcome! (I already implemented @lukasbestle’s suggestion above for more secure tokens)

The way I’ve implemented user authentication is pretty Shopkit-specific, so I’m not planning on releasing this as a stand-alone plugin at the moment.

1 Like

Great :slight_smile:

IMHO, this feature really ought to be in core though.

@samnabi, in your code, the activate and reset mail subjects and bodies are hardcoded in english. It would be nice to allow the possibility of using other languages.

thank you for asking… During the past few major Kirby Core (toolkit) updates made by Bastian, I have been struggling to maintain the original reset password plugin… It started when Kirby’s core yaml parser was updated, and it results multiple error… I have no clear understandings on how to use the Kirby toolkit, so I’ve made my own hacks (direct include a php file located somewhere in the toolkit, and uses a function written), that breaks every update… So, after some couple of Kirby updates, I decided to set it aside and learn toolkit first and continue developing it soon… The phrase “I didn’t even understand my own code” I added in this thread is just a joke… I obviously understand my own code cause I wrote it, but integrating it with a foreign code not familiar to me is trivial…

Summary: Sorry, the plugin is still under development…

Ps: Sorry for my bad english.

This plugin is poorly, integrated to the core, due to my unfamiliarity to the core… A simple Kirby update could break the function of this plugin… I need to study how to use the Kirby toolkit properly, before I get this plugin compatible to the latest Kirby version… :wink:

This plugin is now available in github. After some few months I decided to rewrite some lines of this code and add it back to github.

2 Likes

Good work man. Do you still want some improvements to this repo? Alot of the code is not needed because of the yaml framework of kirby. If you’re interested, I can try to help you with this :slight_smile:

Thanks man!!! Everyone’s always welcome to help improve this plugin… I’m not that familiar with the kirby toolkit yet, that’s why I have hard coded the useful functions that I need to prevent things from breaking down after any major kirby updates… But, if you can make things simple, you can do your move!!! :smiley: :smiley: :smiley: :smiley: