This file is indexed.

/usr/include/Wt/Auth/LostPasswordWidget is in libwt-dev 3.3.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2011 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WT_AUTH_LOST_PASSWORD_WIDGET_H_
#define WT_AUTH_LOST_PASSWORD_WIDGET_H_

#include <Wt/WTemplate>

namespace Wt {
  namespace Auth {

class AbstractUserDatabase;
class AuthService;

/*! \class LostPasswordWidget Auth/LostPasswordWidget
 *  \brief A widget which initiates a lost-password email.
 *
 * The widget renders the <tt>"Wt.Auth.template.lost-password"</tt>
 * template. It prompts for an email address and then invokes
 * AuthService::lostPassword() with the given email address.
 *
 * \sa AuthWidget::createLostPasswordView()
 *
 * \ingroup auth
 */ 
class WT_API LostPasswordWidget : public WTemplate
{
public:
  /*! \brief Constructor
   */
  LostPasswordWidget(AbstractUserDatabase& users,
		     const AuthService& auth,
		     WContainerWidget *parent = 0);

protected:
  void send();
  void cancel();

private:
  AbstractUserDatabase& users_;
  const AuthService& baseAuth_;

#ifndef WT_TARGET_JAVA
  static void deleteBox(WMessageBox *box);
#else
  void deleteBox(WMessageBox *box);
 #endif
};

  }
}

#endif // WT_AUTH_LOST_PASSWORD_WIDGET_H_