Atozed Forums

Full Version: Authentication for individual forms
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Added an auther component to SC and set apRestrictAll.  
Overrode 'RequestAuth(...)' in default form to return false and disable authentication for that form.
Added 2nd form without overriding 'RequestAuth(...)' so as to require authentication.

Default form loads ok on startup, 2nd form displays without authentication on first try then browser prompts for credentials on any other access.  I'm thinking the 2nd form shouldn't display until credentials are given on the first try.

Simple demo project attached.

Project attached.
I'll test it and let you know the results
Hi,

yes, you are correct. Second form should authenticate before executing.

I'm currently working on a fix and will keep you posted.