diff --git a/main.py b/main.py index 73d2ce67b704c57a5151ba36b69f94340dee212e..d20af8697f500e828701fd577cc1ab92872f48bd 100644 --- a/main.py +++ b/main.py @@ -307,7 +307,7 @@ def ownLinks(): if(len(entriesList) == 0): response = 'you have no shorten links.' #If user has no shorten links make this message except: abort(500) #Shouldn't happen, 500 means internal server error - return render_template('editEntries.html', content=response, loginbar=loginbar, cookieNotice=cookieNotice, apikey="your api key: " + sAPI.dumps(userID)) #Put the table and the login div inside the template and server it to the user + return render_template('editEntries.html', content=response, loginbar=loginbar, cookieNotice=cookieNotice) #Put the table and the login div inside the template and server it to the user @app.route('/user/delete') #This function is called if a user deletes an entrie diff --git a/templates/editEntries.html b/templates/editEntries.html index 9e50fc2069b2e8769203b5e5b81a0db71577a913..bbd79acbdf866a33680386d2c4a59ef05d424646 100644 --- a/templates/editEntries.html +++ b/templates/editEntries.html @@ -15,7 +15,6 @@ <div class="form"> {{content | safe}} <p><a href="/">back</a></p> - <p class="message">{{apikey}}</p> </div> </div> <!-- ui-dialog -->