Skip to content

Commit

Permalink
Added line to redirect on first run else the UI stays in same place
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewste committed Mar 16, 2013
1 parent 37e6f5e commit 37493b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebUI/firstrun.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ protected void createUserLinkButton_Click(object sender, EventArgs e)
{
OSAEObjectManager.ObjectAdd(txtUser.Text, "Web UI user", "PERSON", "", "", true);
OSAEObjectPropertyManager.ObjectPropertySet(txtUser.Text, "Password", txtPass.Text, "WebUI");
Response.Redirect("~/objects.aspx");
}
else
{
Expand Down

0 comments on commit 37493b0

Please sign in to comment.