how to crearte a login-plugin instead of default login-controller ?

Added by Ever Rich almost 11 years ago

I would like to create a login-plugin which can do something after login successful.

I don't want to modify source-code of login controller because of the upgrade version reason, so I would like to make a new one.

Can I do that and how to do that?

Kind of regards.

Replies (3)

RE: how to crearte a login-plugin instead of default login-controller ? - Added by Felix Schäfer almost 11 years ago

You can extend or even overload/replace existing code from plugins, have a look at the plugin tutorials in the wiki, they should get you on track.

RE: how to crearte a login-plugin instead of default login-controller ? - Added by Felix Schäfer almost 11 years ago

You can extend or even overload/replace existing code from plugins, have a look at the plugin tutorials in the wiki, they should get you on track.

RE: how to crearte a login-plugin instead of default login-controller ? - Added by Ever Rich almost 11 years ago

I see the tutorial here: http://www.redmine.org/projects/redmine/wiki/Plugin_Tutorial
And write the new one: my_login plugin : http://localhost:3000/my_login ... But this plugin is only used after logged to Redmine.
I want to logged to Redmine via my_login plugin, how can i do that ?

Regards.

(1-3/3)