Skip to content

Commit

Permalink
Allow to update credentials after setup performed. (#4789)
Browse files Browse the repository at this point in the history
  • Loading branch information
prampec authored and d-a-v committed Jun 7, 2018
1 parent 9db33e1 commit 8cda965
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ class ESP8266HTTPUpdateServer

void setup(ESP8266WebServer *server, const char * path, const char * username, const char * password);

void updateCredentials(const char * username, const char * password)
{
_username = (char *)username;
_password = (char *)password;
}

protected:
void _setUpdaterError();

Expand Down

0 comments on commit 8cda965

Please sign in to comment.