New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin dev documentation needed #910

Open
lucas-net-pl opened this Issue Dec 8, 2015 · 2 comments

Comments

2 participants
@lucas-net-pl

lucas-net-pl commented Dec 8, 2015

No I develop custom plugin to change passwords.
Due to my system requrements, i need meake two functions:

  1. I need to be able display custom messages if new password not valid
  2. And most importatnt! After succesfuly password change, i need to logout user and display some additional informations

Now after two days of serachin in code and google, i decide to write to You for help, because i cant found any documentation to plugin development.

THX

@raphaelh

This comment has been minimized.

raphaelh commented Jan 20, 2016

Thanks for your commit! Could you add some documentation on how to write a plugin to let the user change his/her password?

@lucas-net-pl

This comment has been minimized.

lucas-net-pl commented Jan 20, 2016

Hello. I cant write full doc, because, i wrote plugin based on example stored in:
https://github.com/RainLoop/rainloop-webmail/tree/master/plugins/change-password-example

I'll search more on code and google to add functionality described in topic, but not found any. so i wrote this topic.
Some plugin write without this function are simply based on example code.

To change password i simply exec system bash script to do the rest.

Due to specification of mail mail system, the password change are little delayed, so after change, rainloop cant access mailbox, so simplest solution is to logout this user for few seconds.
Ant this fuction i cant find in any place. Rest are simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment