Open tobidwest opened 4 years ago
You can access the internal Yourls methods. Add the following snipet at the beginning of your sleeky-fontend/index.php
.
<?php
// Add login page
require_once( dirname(__FILE__).'/includes/load-yourls.php' );
yourls_maybe_require_auth();
?>
Hope I could help somehow!
@fscholdei Sorry to bother you.
Thank you for the method you provided. How do I need to modify the code to enable it to log out of the account? Place it on the right side of the management button. Just like the backend management interface.
Hello admin (logout)
The Sleeky front page would be perfect for team members being confused by the complex admin page. It'd be great if you could add a simple log in freautre to the frontend so we can limit access.
Great work, keep it up!