jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

Get logged in username in subpage #27

Closed feckert closed 5 years ago

feckert commented 7 years ago

@jow- I am writing a luci2 modul to edit the password in /etc/config/rpcd. I have problems to get extrakt the usernama in a subpage from the session. I know that angular knows the username because, it is shown in the right corner of the the page.

Question: How can i get the username in a submodul to make an password rpc change?

Thanks for help