Changing the Tynamo 5 Tynamo Login Form Template

How can I override the HTML generated by the Apache Tynamo template?

I am currently converting my pages for use with tapestry-bootstrap, and the login form looks a little ugly.

+4
source share
1 answer

Instead of trying to customize or reuse the provided form, it is better to write your own page with a signature and a signing form.

It is very simple, you can start by copying:

This is just an example of a page with a signature, make sure that you delete everything that you do not need.

After that, do not forget to inform about the safety of the tapestries that now you have your own sigin page:

@Contribute(SymbolProvider.class) @ApplicationDefaults public static void applicationDefaults(MappedConfiguration<String, Object> configuration) { // Tynamo tapestry-security (Shiro) module configuration configuration.add(SecuritySymbols.LOGIN_URL, "/signin"); } 

What is it.

+7
source

Source: https://habr.com/ru/post/1414656/


All Articles