mirror of
https://github.com/friendica/friendica
synced 2024-10-13 15:34:34 +02:00
allow hidden fields in login form
This commit is contained in:
parent
69e41f7703
commit
9b1a498061
3
boot.php
3
boot.php
|
@ -651,7 +651,7 @@ function get_guid($size=16) {
|
|||
// returns the complete html for inserting into the page
|
||||
|
||||
if(! function_exists('login')) {
|
||||
function login($register = false) {
|
||||
function login($register = false, $hiddens=false) {
|
||||
$o = "";
|
||||
$reg = false;
|
||||
if ($register) {
|
||||
|
@ -682,6 +682,7 @@ function login($register = false) {
|
|||
'$openid' => !$noid,
|
||||
'$lopenid' => array('openid_url', t('OpenID: '),'',''),
|
||||
|
||||
'$hiddens' => $hiddens,
|
||||
|
||||
'$register' => $reg,
|
||||
|
||||
|
|
Loading…
Reference in a new issue